<ul>
    {% for post in comments %}
    <li>
        <a href="{% url 'category-list' comment.target_id %}">
            {{ comment.target_title}}|{{comment.nickname}}:{{comment.content}}
        </a>
    </li>
    {% endfor %}
</ul>